package vip.xiaonuo.supplier.modular.purchase.suppliers.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import vip.xiaonuo.common.pojo.CommonEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 供应商实体
 *
 * @author Mr.wu
 * @date  2025/02/28 21:58
 **/
@Getter
@Setter
@TableName("SUPPLIER_SUPPLIERS")
public class SupplierSuppliers extends CommonEntity {

    /** 供应商ID */
    @TableId
    @Schema(description = "供应商ID")
    private String id;

    /** 供应商编码 */
    @Schema(description = "供应商编码")
    private String supplierCode;

    /** 供应商名称 */
    @Schema(description = "供应商名称")
    private String supplierName;

    /** 负责人 */
    @Schema(description = "负责人")
    private String supplierPerson;

    /** 联系人 */
    @Schema(description = "联系人")
    private String supplierContact;

    /** 联系电话 */
    @Schema(description = "联系电话")
    private String supplierTel;

    /** 邮箱 */
    @Schema(description = "邮箱")
    private String supplierEmail;

    /** 传真 */
    @Schema(description = "传真")
    private String supplierFax;

    /** 开户行 */
    @Schema(description = "开户行")
    private String supplierBank;

    /** 银行账号 */
    @Schema(description = "银行账号")
    private String supplierBankcode;

    /** 地址 */
    @Schema(description = "地址")
    private String supplierAddress;

    /** 应付账款 */
    @Schema(description = "应付账款")
    private BigDecimal supplierAccountsPayable;

    /** 备注 */
    @Schema(description = "备注")
    private String supplierRemark;

    /** 拼音码 */
    @Schema(description = "拼音码")
    private String supplierPinyin;

    /** 附件 */
    @Schema(description = "附件")
    private String supplierAttachment;

    /** 扩展信息 */
    @Schema(description = "扩展信息")
    private String extJson;

    /** 数据归属 */
    @Schema(description = "数据归属")
    private String companyId;
}
